
class_name LangYao

static func CreateCardData() -> CardData:
	var data = CardData.new()
	
	data.attack = 25
	data.hp = 3000
	data.maxHp = data.hp
	data.defence = 10
	data.speed = 5
	
	data.cardName = "狼妖"
	data.cardDesc = "无"
	data.image = load("res://texture/LangYao.png")
	
	return data


static func CreateCard() -> Card:
	var cardprefab = load("res://prefab/card.tscn")
	var card = cardprefab.instantiate()
	
	var data = CreateCardData()
	card.setData(data)
	
	return card
	


	
